# 样例输入复制
# 1 5
# 10 20
# 样例输出复制
# 6
# 30
while True:
    try:
        a, b = map(int, input().strip().split())
        print(a + b)
    except:
        break
